import { NavBar } from 'antd-mobile'
import React from 'react'
import { useLocation } from 'react-router-dom'

function Order() {
    const {state}=useLocation()
  return (
    <div>
      <NavBar>订单</NavBar>
      <div>{state}</div>
    </div>
  )
}

export default Order
